package com.ysxsoft.wdg.bean.zy;


import android.os.Parcel;
import android.os.Parcelable;

public class CreateIdBean implements Parcelable{

    private String orderid;
    private String yu;
    private String score;

    public CreateIdBean() {
    }

    public CreateIdBean(String orderid, String yu, String score) {
        this.orderid = orderid;
        this.yu = yu;
        this.score = score;
    }

    protected CreateIdBean(Parcel in) {
        orderid = in.readString();
        yu = in.readString();
        score = in.readString();
    }

    public static final Creator<CreateIdBean> CREATOR = new Creator<CreateIdBean>() {
        @Override
        public CreateIdBean createFromParcel(Parcel in) {
            return new CreateIdBean(in);
        }

        @Override
        public CreateIdBean[] newArray(int size) {
            return new CreateIdBean[size];
        }
    };

    public String getOrderid() {
        return orderid == null ? "" : orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getYu() {
        return yu == null ? "" : yu;
    }

    public void setYu(String yu) {
        this.yu = yu;
    }

    public String getScore() {
        return score == null ? "" : score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(orderid);
        dest.writeString(yu);
        dest.writeString(score);
    }
}
